package com.gaohe.service;

import com.gaohe.pojo.User;
import com.gaohe.utils.Result;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;

public interface UserService {
    Result login(User user, HttpServletRequest request, HttpServletResponse response);

    Result getCode(HttpSession session);

    Result register(User user, HttpSession session);

    Result loginOut(HttpSession session);

    Result getUserInfo(HttpSession session);


}
